package com.xiaomo.gitee;

import java.util.List;

public class loadMenu {
    public static StringBuffer GroupManager = new StringBuffer();
    public static StringBuffer Entertainment = new StringBuffer();
    public static StringBuffer Convenience = new StringBuffer();
    public static StringBuffer MasterMenu = new StringBuffer();
    public static StringBuffer AdminMenu = new StringBuffer();
    public static StringBuffer BotInfo = new StringBuffer();

    public loadMenu(List<String> groupManager,List<String> entertainment,List<String> convenience,List<String> masterMenu,List<String> adminMenu,List<String> botInfo) {
        GroupManager = new StringBuffer();
        Entertainment = new StringBuffer();
        Convenience = new StringBuffer();
        MasterMenu = new StringBuffer();
        AdminMenu = new StringBuffer();
        BotInfo = new StringBuffer();
        for (int i = 0;i < groupManager.size();i++) {
            if (i == groupManager.size() - 1) {
                GroupManager.append(groupManager.get(i));
            } else {
                GroupManager.append(groupManager.get(i) + "\r\n");
            }
        }
        for (int i = 0;i < entertainment.size();i++) {
            if (i == entertainment.size() - 1) {
                Entertainment.append(entertainment.get(i));
            } else {
                Entertainment.append(entertainment.get(i) + "\r\n");
            }
        }
        for (int i = 0;i < convenience.size();i++) {
            if (i == convenience.size() - 1) {
                Convenience.append(convenience.get(i));
            } else {
                Convenience.append(convenience.get(i) + "\r\n");
            }
        }
        for (int i = 0;i < masterMenu.size();i++) {
            if (i == masterMenu.size() - 1) {
                MasterMenu.append(masterMenu.get(i));
            } else {
                MasterMenu.append(masterMenu.get(i) + "\r\n");
            }
        }
        for (int i = 0;i < adminMenu.size();i++) {
            if (i == adminMenu.size() - 1) {
                AdminMenu.append(adminMenu.get(i));
            } else {
                AdminMenu.append(adminMenu.get(i) + "\r\n");
            }
        }
        for (int i = 0;i < botInfo.size();i++) {
            if (i == botInfo.size() - 1) {
                BotInfo.append(botInfo.get(i));
            } else {
                BotInfo.append(botInfo.get(i) + "\r\n");
            }
        }

    }


}
